package com.sdonkey.score.dao;

import com.sdonkey.score.bean.AddAdPlaceLimit;
import com.sdonkey.score.model.AdPlaceLimitBean;
import com.sdonkey.score.model.AdPlacementLimitListBean;
import com.sdonkey.score.model.FinishPlacementAdBean;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository("adLimitDao")
public interface AdLimitDao {

    public List<FinishPlacementAdBean> getUnlimitPlacementAd(@Param("advId") String advId);

    public List<AdPlacementLimitListBean> getlimitPlacementAdList(@Param("advId") String advId);

    public AdPlaceLimitBean getAdPlacnLimitById(@Param("adId") int adId);

    public void deleteById(@Param("id") int id);


    public void addPlaceLimit(AddAdPlaceLimit addAdPlaceLimit);

    public void updatePlaceLimitById(AddAdPlaceLimit addAdPlaceLimit);
}
